		     
		     HDPREPEZ HARD DISK PREPARATION UTILITY
		     --------------------------------------


	  **************************************************************
	  *                                                            *
	  *                       *** WARNING ***                      *
	  *                                                            *
	  *     TO AVOID POTENTIAL DATA LOSS IT IS VERY IMPORTANT      *
	  *                                                            *
	  *     THAT THE HDPREPEZ UTILITY IS NOT INTERRUPTED WHILE     *
	  *                                                            *
	  *     RUNNING. IT IS HIGHLY RECOMMENDED THAT THIS UTILITY    *
	  *                                                            *
	  *     BE RUN WITH THE NOTEBOOK ON AC POWER AND A CHARGED     *
	  *                                                            *
	  *     BATTERY.                                               *
	  *                                                            *
	  **************************************************************


      1.1 Introduction

      HDPREPEZ is the utility to prepare the hard disk of a notebook for
      0Volt suspend (Save To Disk or Save To File).

      In 0V suspend, the AMIBIOS saves the entire system state in
      memory called SMRAM , dedicated for all power management purposes.
      Then, the entire system memory, video memory and SMRAM are saved onto
      the hard disk before powering off the system.  During the resume process,
      all of the memory is restored from the hard disk.


      AMI HARD DISK PREPARATION UTILITY (HDPREPEZ.EXE) does the following
      to prepare the hard disk to facilitate 0V suspend (Save To File)
      which allows the system to be completely powered off with the "Work
      In Progress" saved, thereby maintaining the current battery level.

      1. Get the system memory information, which includes:

	    * Size of System Memory.
	    * Size of Video Memory.
	    * Size of SMRAM Memory.

      2. Get the Hard disk information such as:

	    * Total hard disk size.
	    * Total hard disk space required.
	    * Total hard disk space available at the end of all partitions.
	    * Total contiguous space on a logical drive.

      3. Allows the user to modify or select system information such as:

	    * System memory - User can prepare the hard disk for more system
	      memory than is currently present, allowing for future memory
	      expansion.

	    * Video Memory - User can prepare the hard disk for more video
	      memory than is currently present, allowing for future memory
	      expansion.

	    * Select hibernation method: SAVE TO PARTITION or SAVE TO DOS FILE -
	      If Save to DOS file is selected, the user can also select
	      a logical drive where the file will be created.

	 The Save to Partition option will only work if the drive
	 has an HDPREP dedicated partition, which means deleting the
	 pre-configured software from the system disk.

      4. Allows the user to select up to two OEM display programs, for NECLOGO
	 and for NECZVSR suspend/resume activity screen.

      5. After gathering all information, it checks the hard disk by doing
	 surface analysis. It makes good block lists, reserves space to save
	 all memory and also saves the system information and display files on
	 the hard disk.


      1.2 How to Run HDPREPEZ

      HDPREPEZ can be run from any of the following operating system
      environments:

      -Boot to DOS (Recommended for DOS, Windows 3.1x, Windows for Workgroups
       and OS/2)

      -Boot to Windows 95 Safe Mode Command Prompt Only (Recommended for WIN95)
       This is done by pressing the F8 key when the "Starting Windows 95"
       message is displayed during boot, then select "Safe Mode Command Prompt
       Only".

      -If the user wants to use a disk compression program like STACKER or
       DriveSpace, then HDPREPEZ should be run after the disk is compressed.

      STEP I:
      Change your working directory to C:\NECUTILS\HDPREP or the one which
      contains the following files:

      1. HDPREPEZ.EXE
      2. BOOTLOGO.PMD
      3. STF_LOGO.PMD
      4. HDPREP.CFG


      STEP II:
      This step is needed if the HDPREP.CFG file is missing in your
      working directory.  Otherwise, please skip this step and go to STEP III.

      HDPREPEZ works on a configuration file named HDPREP.CFG  which must
      be present in your working directory before you run HDPREPEZ.This
      configuration file can be automatically created by running HDPREPEZ /C
      or by editing the CFG file with Windows NOTEPAD any ASCII text editor. Run
      HDPREPEZ /H to get online help. To create or update the configuration
      file do the following:

      * Run HDPREPEZ /C

      * Under the heading [FileSystemInformation]

	DosFile - Select option 1, Save to DOS file. The Partition option
      will only work if your drive has been repartitioned with unused space
      available.  Save to DOS File needs a contiguous amount of disk space on the
      logical drive in which you are creating the file.  Later, while running
      HDPREPEZ, if you get the error that disk space is not available it is
      recommended that you run a disk defragmenter program such as
      C:\WINDOWS\DEFRAG.EXE and try again.

      If you have less contiguous space available than what is needed to create
      the Save to DOS file, you will need to delete or backup/delete unnecessary
      files and then defragment the hard drive.

	SelectLogicalDrive - letter for creating file.  (Example: C)

      * Under the heading [MemoryConfiguration]
	SystemMemory - Enter amount of system memory contained in your system.
      You can enter "AUTO" to let the utility detect memory size (recommended)
      or enter the memory size on your own.

	VGAMemory - Enter amount of video memory contained in your system.
      You can enter "AUTO" to let the utility detect memory size (recommended)
      or enter the memory size on your own. Your Versa comes with 2000 Kbytes 
      of video memory.

	AdditionalMemory should be 0

      * Under the heading [ProgramConfiguration]

	Program1=STF_LOGO.PMD. This is the file to display 0V suspend/resume
      progress bar. The program name must exactly match the filename on your hard
      drive or you will not be able to create the Save to DOS file.

	Program2=BOOTLOGO.PMD. This is the file to display NEC logo at power
      on. The program name must exactly match the filename on your hard
      drive or you will not be able to create the Save to DOS file.

      * When you are finished editing the file press the ESCape key, Saving or
      overwriting the HDPREP.CFG file when it prompts you to do so.


      STEP III

      * Run HDPREPEZ - The utility will prepare the disk. To do this type:
	CD \NECUTILS\HDPREP
	HDPREPEZ

      * If no error messages are displayed then reboot the system by powering
      the unit off/on.

      * While booting the system a 3D NEC logo signifies that the Save to DOS
      file is properly configured and ready for use.



      1.3 Associated files

      HDPREPEZ.EXE            The Utility program
      HDPREP.CFG              Configuration file
      BOOTLOGO.PMD            Display file for NEC LOGO
      STF_LOGO.PMD            Display file for NEC 0V suspend/resume
			      activity screen

      1.4 Format of HDPREP.CFG

	[FileSystemInformation]   // Section:     Set preparation method

	DOSFile= 1                // Item:        1 for save to DOS file
				  //              0 for save to partition

	SelectedLogicalDrive=C    // Item:        If save to File, select
				  //              logical drive (C-Z)

	[MemoryConfiguration]     // Section:     Memory configuration

	SystemMemory=AUTO         // Item :       System memory in KB
				  //              Set AUTO for auto
				  //              detection or enter value

	VGAMemory=AUTO            // Item:        Video memory in KB
				  //              Set AUTO for auto
						  detection or enter value

	AdditionalMemory=0        // Item:        Any spl mem like memory
						  in adapter card

	[ProgramConfiguration]    // Section :    Add OEM display
				  //              programs

	Program1=
	[Path] STF_LOGO.PMD       // Item :       NEC 0v suspend/resume display
				  //              file, _NONE_ for no display

	Program2=
	[Path] BOOTLOGO.PMD       // Item:        NEC logo display file,
				  //              _NONE_ for no logo display

